import Vue from './vue/vue.js'

const vm = new Vue({
  el: '#app',
  data: {
    msg: 'hello',
    count: 1,
    person: {
      name: 'li'
    },
    html: `<h2>这是v-html</h2>`
  },
  methods: {
    fn1 () {
      this.count++
    },
    fn2 () {
      this.count--
    }
  }
})
vm.person.name = 'xxx'